home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE4 / ZAP / !Zap / Modules / !ZapBASIC / UK / Scripts < prev    next >
Text File  |  2002-05-08  |  1KB  |  47 lines

  1. <BUTTONS0>
  2. %BUTTONS_CLOSE:BASIC_FLAGSTOGGLE 17
  3. | \Sclose the button bar.|MIf needed, it may be recovered again from the mode menu.
  4. -
  5. %BUTTONS_MOVE
  6. | Drag to reposition the button bar.
  7. -
  8. RENUMBER
  9. | \Srenumber the BASIC file.
  10. -
  11. LISTFNS
  12. | \Slist any function and procedure definitions.
  13. -
  14. IF (@Adjust):RUNAPP:ELSE:SAVEANDRUN:ENDIF
  15. | \Ssave and execute the BASIC file.|M\Asave and run the application.
  16. -
  17. RUN
  18. | \Sexecute the BASIC file from memory.
  19. -
  20. RUNANDQUIT
  21. | \Srun the BASIC file from memory and then exit.
  22. -
  23. BASIC_TWRUN
  24. | \Ssave the program and then execute it in a TaskWindow.
  25. -
  26. BASIC
  27. | \Sdrop into BASIC with the file loaded.
  28. -
  29. INDENTBY "-2"
  30. | \Soutdents the selected region by two spaces.
  31. -
  32. INDENTBY "2"
  33. | \Sindents the selected region by two spaces.
  34. -
  35. TMT_IF "GREYED(CUT) THEN BASIC_UNREMARK:CRIGHT:DOWN:CLEFT ELSE BASIC_UNREMARKSEL"
  36. | \Sremove the first REMark on each line of the selected region.
  37. -
  38. TMT_IF "GREYED(CUT) THEN BASIC_REMARK:CRIGHT:DOWN:CLEFT ELSE BASIC_REMARKSEL"
  39. | \Splace REMarks on each line of the selected region.
  40. -
  41. BASIC_CHECKBUF
  42. | \Sperform simple syntactical checks on the file.
  43. -
  44. FINDFUNCTION
  45. | \Slocate the definition of the function under the cursor.|MThis also works for PROCedures and references to assembler labels.
  46. -
  47.